#include <stdio.h>
#include <stdlib.h>
#include "sequeue.h"

int main(int argc, char *argv[]) 
{
	sequeue * sq = queue_create();
	if (sq == NULL)
        return -1;
    
    enqueue(sq, 10);
    enqueue(sq, 20);
    enqueue(sq, 30);
    enqueue(sq, 40);
    
    while(queue_empty(sq) != 1)//???? 
    {
    	printf("dequeue:%d\n", dequeue(sq));
	}
	
	queue_free(sq);
	
	return 0;
}
